%module basic_ptr

%inline
%{
void add_one(unsigned char *puchar, char *pchar, unsigned int *puint, double *pdouble);
double *get_double_ptr();
%}
%include "cpointer.i"
%pointer_class(unsigned char, PUCHAR);
%pointer_class(char, PCHAR);
%pointer_class(unsigned int, PUINT);
%pointer_class(double, PDOUBLE);
%pointer_class(int, PINT);

